const mongoose = require("../utils/DB.js");
const adminsModel = require('./adminsModel.js')
//创建数据模型
let seatsSchema = new mongoose.Schema({
  row: Number, // 座位行号
  col: Number, // 座位列号
  displayName: String,
  theaterId: String // 座位所从属的放映厅
});
//映射数据模型
let seatsModel = mongoose.model('seatsModel', seatsSchema, 'seats');

module.exports = seatsModel